package com.sskj.lib.bean;

import android.arch.persistence.room.Entity;

import java.io.Serializable;

import javax.annotation.Nullable;

/**
 * Created by lv on 18-5-7.
 */
@Entity(primaryKeys = {"id"})
public class UserData implements Serializable {
    
    @Nullable
    private Integer id;
    /**
     * nickname : null
     * username : null
     * userUid : 6684214
     * tel : 18538705347
     * email : null
     * pswd : null
     * tradePwd : null
     * deviceNo : null
     * createTime : 1556421030000
     * lastLoginTime : null
     * invitationCode : CG1214
     * agentId : null
     * inspectorId : null
     * inspectAuthReason : null
     * inspectAuthTime : null
     * inspectAuthStatus : 1
     * isDeleted : false
     * timestamp : 1556421726000
     * invitationId : 181
     * invitationPath : null
     * staffInspectReason : null
     * staffInspectTime : null
     * staffApplyStatus : null
     * userChargeRate : 0.0
     * headUrl : null
     * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRlIjoxNTU2NDIyMjI5NjY3LCJpZCI6MjE0LCJvYmplY3QiOiJ7XCJpc1JlYWxcIjp0cnVlLFwidXNlckNoYXJnZVJhdGVcIjowRS04LFwicHN3ZFwiOlwiM2FkZTNmZDZlOGVlZjg0ZjJlYTkxZjY0NzRiZTEwZDlcIixcImlzU3RhZmZcIjp0cnVlLFwiaW5zcGVjdEF1dGhTdGF0dXNcIjoxLFwiaW52aXRhdGlvbklkXCI6MTgxLFwiaXNEaXNhYmxlXCI6ZmFsc2UsXCJpc0RlbGV0ZWRcIjpmYWxzZSxcImNyZWF0ZVRpbWVcIjoxNTU2NDIxMDMwMDAwLFwidGVsXCI6XCIxODUzODcwNTM0N1wiLFwiaWRcIjoyMTQsXCJpbnZpdGF0aW9uQ29kZVwiOlwiQ0cxMjE0XCIsXCJ0aW1lc3RhbXBcIjoxNTU2NDIxNzI2MDAwLFwidXNlclVpZFwiOlwiNjY4NDIxNFwifSJ9.GdsbYluZCAdfc7dnpJ2wuDK1XXGoObIY--kkGnltPVg
     * unabledPhoenix : 5.0
     * crystalCoin : null
     * chinaPwd : 0
     * phoneixPwd : null
     * phoenixTradePswd : null
     * disable : null
     * real : null
     * staff : null
     */

    private String nickname;
    private String username;
    private String userUid;
    private String tel;
    private String email;
    private String pswd;
    private String tradePwd;
    private String deviceNo;
    private long createTime;
    private String lastLoginTime;
    private String invitationCode;
    private String agentId;
    private String inspectorId;
    private String inspectAuthReason;
    private String inspectAuthTime;
    private int inspectAuthStatus;
    private boolean isDeleted;
    private long timestamp;
    private String invitationId;
    private String invitationPath;
    private String staffInspectReason;
    private String staffInspectTime;
    private String staffApplyStatus;
    private double userChargeRate;
    private String headUrl;
    private String token;
    private double unabledPhoenix;
    private String crystalCoin;
    private int chinaPwd;
    private String phoneixPwd;
    private String phoenixTradePswd;
    private String disable;
    private String real;
    private String staff;

    @Nullable
    public Integer getId() {
        return id;
    }

    public void setId(@Nullable Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname == null ? "" : nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username == null ? "" : username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserUid() {
        return userUid == null ? "" : userUid;
    }

    public void setUserUid(String userUid) {
        this.userUid = userUid;
    }

    public String getTel() {
        return tel == null ? "" : tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email == null ? "" : email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPswd() {
        return pswd == null ? "" : pswd;
    }

    public void setPswd(String pswd) {
        this.pswd = pswd;
    }

    public String getTradePwd() {
        return tradePwd == null ? "" : tradePwd;
    }

    public void setTradePwd(String tradePwd) {
        this.tradePwd = tradePwd;
    }

    public String getDeviceNo() {
        return deviceNo == null ? "" : deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginTime() {
        return lastLoginTime == null ? "" : lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getInvitationCode() {
        return invitationCode == null ? "" : invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public String getAgentId() {
        return agentId == null ? "" : agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getInspectorId() {
        return inspectorId == null ? "" : inspectorId;
    }

    public void setInspectorId(String inspectorId) {
        this.inspectorId = inspectorId;
    }

    public String getInspectAuthReason() {
        return inspectAuthReason == null ? "" : inspectAuthReason;
    }

    public void setInspectAuthReason(String inspectAuthReason) {
        this.inspectAuthReason = inspectAuthReason;
    }

    public String getInspectAuthTime() {
        return inspectAuthTime == null ? "" : inspectAuthTime;
    }

    public void setInspectAuthTime(String inspectAuthTime) {
        this.inspectAuthTime = inspectAuthTime;
    }

    public int getInspectAuthStatus() {
        return inspectAuthStatus;
    }

    public void setInspectAuthStatus(int inspectAuthStatus) {
        this.inspectAuthStatus = inspectAuthStatus;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getInvitationId() {
        return invitationId == null ? "" : invitationId;
    }

    public void setInvitationId(String invitationId) {
        this.invitationId = invitationId;
    }

    public String getInvitationPath() {
        return invitationPath == null ? "" : invitationPath;
    }

    public void setInvitationPath(String invitationPath) {
        this.invitationPath = invitationPath;
    }

    public String getStaffInspectReason() {
        return staffInspectReason == null ? "" : staffInspectReason;
    }

    public void setStaffInspectReason(String staffInspectReason) {
        this.staffInspectReason = staffInspectReason;
    }

    public String getStaffInspectTime() {
        return staffInspectTime == null ? "" : staffInspectTime;
    }

    public void setStaffInspectTime(String staffInspectTime) {
        this.staffInspectTime = staffInspectTime;
    }

    public String getStaffApplyStatus() {
        return staffApplyStatus == null ? "" : staffApplyStatus;
    }

    public void setStaffApplyStatus(String staffApplyStatus) {
        this.staffApplyStatus = staffApplyStatus;
    }

    public double getUserChargeRate() {
        return userChargeRate;
    }

    public void setUserChargeRate(double userChargeRate) {
        this.userChargeRate = userChargeRate;
    }

    public String getHeadUrl() {
        return headUrl == null ? "" : headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getToken() {
        return token == null ? "" : token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public double getUnabledPhoenix() {
        return unabledPhoenix;
    }

    public void setUnabledPhoenix(double unabledPhoenix) {
        this.unabledPhoenix = unabledPhoenix;
    }

    public String getCrystalCoin() {
        return crystalCoin == null ? "" : crystalCoin;
    }

    public void setCrystalCoin(String crystalCoin) {
        this.crystalCoin = crystalCoin;
    }

    public int getChinaPwd() {
        return chinaPwd;
    }

    public void setChinaPwd(int chinaPwd) {
        this.chinaPwd = chinaPwd;
    }

    public String getPhoneixPwd() {
        return phoneixPwd == null ? "" : phoneixPwd;
    }

    public void setPhoneixPwd(String phoneixPwd) {
        this.phoneixPwd = phoneixPwd;
    }

    public String getPhoenixTradePswd() {
        return phoenixTradePswd == null ? "" : phoenixTradePswd;
    }

    public void setPhoenixTradePswd(String phoenixTradePswd) {
        this.phoenixTradePswd = phoenixTradePswd;
    }

    public String getDisable() {
        return disable == null ? "" : disable;
    }

    public void setDisable(String disable) {
        this.disable = disable;
    }

    public String getReal() {
        return real == null ? "" : real;
    }

    public void setReal(String real) {
        this.real = real;
    }

    public String getStaff() {
        return staff == null ? "" : staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }




}
